package com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleservices;

import android.content.Context;

import com.google.gson.Gson;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundiblebeans.FundibleASStoreBn;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASStoreUtil;
import com.test.fundible.fundible_00_analytics.fundibledata_sdk.fundibleutil.FundibleASUtil;

public class FundibleASStoeIfo {

    public String v5q9="";
    public String m5j3="";
    public String fQew="";
    public String fScz="";

    public static FundibleASStoreBn getDatas_fundible(final Context paramContext) {
        FundibleASStoreBn bean = new FundibleASStoreBn();
        try {
            bean.setContainSd_fundible(FundibleASStoreUtil.getContainSD_fundible());
            bean.setRamCanUse_fundible(FundibleASStoreUtil.getRamCanUse_fundible(paramContext));
            bean.setRamTotal_fundible(FundibleASStoreUtil.getRamTotal_fundible(paramContext));
            bean.setCashCanUse_fundible(FundibleASStoreUtil.getCashCanUse_fundible(paramContext));
            bean.setCashTotal_fundible(FundibleASStoreUtil.getCashTotal_fundible(paramContext));
            bean.setExtraSD_fundible(FundibleASStoreUtil.getExtraSD_fundible(paramContext, 1));
            bean.setInternalTotal_fundible(FundibleASStoreUtil.getTotalInternalStoreSize_fundible(paramContext));
            bean.setInternalAvailable_fundible(FundibleASStoreUtil.getAvailaInternalStoreSize_fundible(paramContext));
            bean.setRamDidUsed_fundible(FundibleASStoreUtil.getRamDidUsed_fundible(paramContext));
            bean.setCashDidUsed_fundible(FundibleASStoreUtil.getCashDidUsed_fundible(paramContext));
            bean.setSdCardTotal_fundible(FundibleASStoreUtil.getSDCardTotal_fundible(paramContext));
        } catch (Exception e) {
            e.printStackTrace();
        }
        return bean;
    }

    public static String getZipString_fundible(Context paramContext) {
        String zipString = "";
        try {
            FundibleASStoreBn infoBean = getDatas_fundible(paramContext);
            String result = new Gson().toJson(infoBean).trim();
            zipString = FundibleASUtil.stringToGZIP_fundible(result);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return zipString;
    }

    public void setV5q9(String v5q9) {
        this.v5q9 = v5q9;
    }

    public void setM5j3(String m5j3) {
        this.m5j3 = m5j3;
    }

    public void setfQew(String fQew) {
        this.fQew = fQew;
    }

    public void setfScz(String fScz) {
        this.fScz = fScz;
    }

    public String getV5q9() {
        return v5q9;
    }

    public String getM5j3() {
        return m5j3;
    }

    public String getfQew() {
        return fQew;
    }

    public String getfScz() {
        return fScz;
    }
}
